<?php $this->_extends('_layouts/main_layout'); ?>
 
<?php $this->_block('contents'); ?>
<link type="text/css" href="<?=$_BASE_DIR?>js/calendar/skins/default/theme.css" rel="stylesheet"/>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/calendar/calendar.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/calendar/calendar-setup.js"></script>
<script type="text/javascript" src="<?=$_BASE_DIR?>js/calendar/lang/calendar-zh-utf8.js"></script>

<form class="fsimple" id="form_examplan" name="form_examplan" action="" method="post" enctype="application/x-www-form-urlencoded" qform_group_id="" >
	<fieldset class="query_form" style="margin-top:10px;">
			    <legend>留言查看</legend>
<table  cellpadding="0" cellspacing="0" width="100%" style="text-align: left;">
	
	<tr height="30">
		<td  width="5%">提 问 人&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->asker?></td>
		<td  width="50%">&nbsp;</td>	
	</tr>
        <tr height="30">
		<td  width="5%">提问人ip&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->ip?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
	<tr height="30">
		<td  width="5%">电子邮件&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->email?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
<tr height="30">
		<td  width="5%">联系电话&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->tel?></td>
		<td  width="50%">&nbsp;</td>	
	</tr>
        <tr height="30">
		<td  width="5%">提问内容&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->question?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
	<tr height="30">
		<td  width="5%">提问时间&nbsp;:</td><td style="text-align: left;" width="40%"> <?=empty($message->q_time)?"-":date("Y-m-d H:i",$message->q_time)?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
        <tr height="30">
		<td  width="5%">回 复 人&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$admin->name?></td>
		<td  width="50%">&nbsp;</td>	
	</tr>
        <tr height="30">
		<td  width="5%">回复内容&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->answer?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
	<tr height="30">
		<td  width="5%">回复时间&nbsp;:</td><td style="text-align: left;" width="40%"> <?=empty($message->a_time)?"-":date("Y-m-d H:i",$message->a_time)?></td>
		<td  width="50%">&nbsp;</td>
	</tr>
        <tr height="30">
		<td  width="5%">是否显示&nbsp;:</td><td style="text-align: left;" width="40%"> <?=$message->show_flag?'是':'否'?></td>
		<td  width="50%">&nbsp;</td>
	</tr>

	<tr height="30">
		<td>
			<input type="button" class="btn" value="返回" onclick="javascript:location='<?php echo url('/index');?>';">
		
		</td>
	</tr>
</table>
			</fieldset>
</form>
<?php $this->_endblock(); ?>